/**
 * Created by IntelliJ IDEA
 *
 * @author zhengjie
 * @Date:2022/1/7 16:38
 * @Version 1.0
 */
package com.zj.ssm.pojo.domain.query;

import lombok.Data;

@Data
public class BasePage {
    private Integer pageNo;
    private Integer pageCount;

    public Integer getIndex(){
        return (pageNo-1)*pageCount;
    }

}
